package sights.VO;

import com.alibaba.fastjson.annotation.JSONField;

// 景点详情VO（整合scenic_detail和scenic_spot表的字段）
public class ScenicDetailVO {
    @JSONField(name = "sight_id") // 指定JSON字段名
    private Integer sight_id;

    @JSONField(name = "history_background")
    private String history_background;

    @JSONField(name = "cul_features")
    private String cul_features;

    @JSONField(name = "specialty")
    private String specialty;

    @JSONField(name = "sight_name")
    private String sight_name;

    @JSONField(name = "city")
    private String city;
    @JSONField(name = "img_path")
    private String imgPath;

    // 生成所有字段的getter和setter
    public Integer getSightId() { return sight_id; }
    public void setSightId(Integer sight_id) { this.sight_id = sight_id; }
    public String getHistoryBackground() { return history_background; }
    public void setHistoryBackground(String history_background) { this.history_background = history_background; }
    public String getCulFeatures() { return cul_features; }
    public void setCulFeatures(String cul_features) { this.cul_features = cul_features; }
    public String getSpecialty() { return specialty; }
    public void setSpecialty(String specialty) { this.specialty = specialty; }
    public String getSightName() { return sight_name; }
    public void setSightName(String sight_name) { this.sight_name = sight_name; }
    public String getCity() { return city; }
    public void setCity(String city) { this.city = city; }

    public String getImgPath() { return imgPath; }
    public void setImgPath(String imgPath) { this.imgPath = imgPath; }
}